<%-- 
    Document   : user_name
    Created on : 15.04.2013, 23:36:29
    Author     : Kobos
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <link rel="stylesheet"  href="admin_style.css"  type="text/css" />
        <title>User name</title>
    </head>
    <body>
        <header>
            <div id ="top_name"> <h1> User name</h1> </div>
            <div id="user-panel">
                <p> <a href="#">User name</a>
                    <a href="#">LogOut</a> </p>
            </div>
            <div id="menu">
                <div id="role"> <select name="role" size = 1> 
                        <option value=”1” >Customer</option>
                        <option value=”2”>Warehouse Employee</option> 
                        <option value=”3”>Courier</option> 
                        <option value=”4”, selected>Admin</option> 
                    </select> </div>
            </div>
        </header>
        <div id="main">
            <div id="un_text">
                <%
                    String first_name = (String) request.getAttribute("first_name");
                    String last_name = (String) request.getAttribute("last_name");
                    out.print("<br> First name &nbsp&nbsp&nbsp" + first_name);
                    out.print("<br> Last name &nbsp&nbsp&nbsp" + last_name);
                    out.print("<br> E-mail &nbsp&nbsp&nbsp");
                    out.print("<br> Address       ");
                    out.print("<br> Group         ");
                    out.print("<br> Roles         ");
                %>
                <div>
                    <button type="submit" style="width:120px; background: #6699FF;" > <a href="/first/add_user"> Edit </a> </button>
                    <button type="submit" style="width:120px; background: #6699FF;" > <a href="/first/index"> Delete </a> </button>
                    <button type="submit" style="width:70px; background: #6699FF;" > <a href="/first/index"> OK </a> </button>
                </div>
            </div>
        </div>
    </body>
</html>
